AUTOMAKE_OPTIONS = subdir-objects
AM_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) -g
AM_CFLAGS += `pkg-config --cflags glib-2.0 gio-unix-2.0 libusb-1.0`
AM_LDFLAGS = `pkg-config --libs glib-2.0 gio-unix-2.0 libusb-1.0` 
AM_CPPFLAGS = -I./uapi_usb -I./usb_fp_protocol -I./device/ccm4201s -I./keyfile 


upai_usb_SRC = uapi_usb/uapi_usb.c
usb_fp_protocol_SRC = usb_fp_protocol/usb_fp_protocol.c
ccm4201s_SRC = device/ccm4201s/ccm4201s.c
keyfile_SRC = keyfile/keyfile.c
ofp_config_SRC = ofp_config.c
ofp_dev_SRC = ofp_dev.c

bin_PROGRAMS = ofp-tools
 
ofp_tools_SOURCES = ofp_tools.c $(upai_usb_SRC) $(usb_fp_protocol_SRC) $(ccm4201s_SRC) $(keyfile_SRC) \
	$(ofp_dev_SRC) $(ofp_config_SRC)

ofp_tools_LDADD = $(GLIB_LIBS) $(GIO_LIBS)
 


MOSTLYCLEANFILES = $(BUILT_SOURCES)
